<template>
    <nav>
      <nuxt-link to="/index" active-class="app_header_active">首页</nuxt-link>
      <nuxt-link to="/login" active-class="app_header_active">登录</nuxt-link>
      <nuxt-link to="/reg" active-class="app_header_active">注册</nuxt-link>
      <nuxt-link to="/user" active-class="app_header_active">用户</nuxt-link>
      <nuxt-link to="/shop" active-class="app_header_active">商店</nuxt-link>
    </nav>
</template>

<style scoped>
.app_header_active {
  color: red;
  background: purple;
}
</style>
